﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 设计模式
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void btnSingletonPattern_Click(object sender, EventArgs e)
        {
            FrmSingletonPattern form = new FrmSingletonPattern();
            form.ShowDialog();
        }
    }
}
